def list_set_slice():
    test_list = [1,2,3,4,5,6]
    test_list[3:3] = ['x','y','z']  # 往列表中插入一个列表
    print(test_list)
    print(test_list[3:3])  # 空


def list_compare():
    a = [1,2,3]
    b = [1,2,3]
    print(a == b)
    print(id(a),id(b))
    print(a is b)  # 判断地址是否一致


list_compare()
